package cn.wolfcode.util;

import cn.wolfcode.domain.Employee;
import org.apache.shiro.SecurityUtils;

public class UserContext {

	public static Employee getCurrentUser(){
		return (Employee)SecurityUtils.getSubject().getPrincipal();
	}
}
